#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#include "AffichageSDL.h"
#include "MenuSDL.h"

#define MENU


int main(int argc, char *argv[])

{
    #ifdef MENU
    sdlMenu menu;
    int pointX, pointY, movX, movY;
    sdlMenuInit(&menu);
    sdlMenuAff(&menu);

    sdlMenuBoucle(&menu,&pointX,&pointY,&movX,&movY);
    sdlMenuBouclePause(&menu,&pointX,&pointY,&movX,&movY);
    sdlMenuLibere(&menu);
    #endif

    #ifdef JEU_2_JOUEURS

    sdlJeu sdlJeu ;
    sdljeuInit(&sdlJeu );
    sdljeuBoucle(&sdlJeu);
    sdlLibere(&sdlJeu );

    #endif

    #ifdef JEU_SOLO

    sdlJeu sdlJeu ;
    sdljeuInit(&sdlJeu );
    sdljeuBoucle1Joueur(&sdlJeu);
    sdlLibere(&sdlJeu );

    #endif

    #ifdef TEST_REGRESSION

    testRegressionFusee();
    testRegressionEquipement();
    testRegressionBonus();
    testRegressionTerrain();
    testRegressionTabDyn();
    testRegressionJeu();

    #endif

/*

    sdlMenu menu ;
    int pointX,pointY,movX,movY;

    sdlMenuInit(&menu);
    sdlMenuAff(&menu);
    sdlLogoJeu(&menu);

    sdlMenuBoucle(&menu,&pointX,&pointY,&movX,&movY);
    sdlMenuBouclePause(&menu,&pointX,&pointY,&movX,&movY);
    sdlMenuLibere(&menu );
*/
	return 0;
}
